package zero.tech.games.phz.data.entity;

public class DelayOp {
	private int uid;
	private int type;
	private int delay;
	private long time;
	private Object[] objs;
	public DelayOp(int uid, int type, int delay,Object... objs) {
		super();
		this.uid = uid;
		this.type = type;
		this.delay = delay;
		this.time=System.currentTimeMillis();
		int length=objs.length;
		if(length>0) {
			this.objs=new Object[length];
			int index=0;
			for(Object obj:objs) {
				this.objs[index++]=obj;
			}
		}
	}
	public int getUid() {
		return uid;
	}
	public void setUid(int uid) {
		this.uid = uid;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getDelay() {
		return delay;
	}
	public void setDelay(int delay) {
		this.delay = delay;
	}
	public long getTime() {
		return time;
	}
	public void setTime(long time) {
		this.time = time;
	}
	public Object[] getObjs() {
		return objs;
	}
	public void setObjs(Object[] objs) {
		this.objs = objs;
	}
}
